﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///MyString 的摘要说明
/// </summary>
public class MyString
{
    public static bool IsNullOrWhiteSpace(string value)
    {
        if (value != null)
        {
            for (int i = 0; i < value.Length; i++)
            {
                if (!char.IsWhiteSpace(value[i]))
                {
                    return false;
                }
            }
        }
        return true;
    }
}